using Web.Model;

namespace Web.DataAccess.Mappings
{
	public class AvatarMapping : EntityMapping<Avatar>
	{
		public AvatarMapping()
		{
		    References(x => x.Small).Cascade.SaveUpdate();
            References(x => x.Medium).Cascade.SaveUpdate();
		    References(x => x.Large).Cascade.SaveUpdate();
		}
	}
}